export default function SegmentBootstrap() {
  var e = (window.analytics = window.analytics || [])
  if (!e.initialize)
    if (e.invoked) window.console && console.error && console.error("Segment snippet included twice.")
    else {
      ;(e.invoked = !0),
        (e.methods = [
          "trackSubmit",
          "trackClick",
          "trackLink",
          "trackForm",
          "pageview",
          "identify",
          "reset",
          "group",
          "track",
          "ready",
          "alias",
          "debug",
          "page",
          "once",
          "off",
          "on"
        ]),
        (e.factory = function (t) {
          return function () {
            var i = Array.prototype.slice.call(arguments)
            return i.unshift(t), e.push(i), e
          }
        })
      for (var t = 0; t < e.methods.length; t++) {
        var i = e.methods[t]
        e[i] = e.factory(i)
      }
      ;(e.load = function (t, i) {
        var n = document.createElement("script")
        ;(n.type = "text/javascript"),
          (n.async = !0),
          (n.src = ("https:" === document.location.protocol ? "https://" : "http://") + "cdn.segment.com/analytics.js/v1/" + t + "/analytics.min")
        var s = document.getElementsByTagName("script")[0]
        s.parentNode!.insertBefore(n, s), (e._loadOptions = i)
      }),
        (e.SNIPPET_VERSION = "4.1.0")
    }
}
// i.r(t), i.d(t, { SegmentBootstrap: () => n })
